<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div>
	<form id="f_team_user" action="<c:url value='/admin/team/saveuser.do'/>" method="post">
		<input type="hidden" name="teamUser.tuid" value="${teamUser.tuid}">
		<input type="hidden" name="teamUser.userid" value="${teamUser.userid}">
		<input type="hidden" name="teamUser.teamid" value="${teamUser.teamid}">
		<input type="hidden" name="teamUser.createTime" value="${teamUser.createTime}">
		<table>
		<tr>
			<th>昵称：</th>
			<td>
				<input type="text" name="teamUser.nickname" value="${teamUser.nickname}">
			</td>
		</tr>
		<tr>
			<th>加入时间：</th>
			<td>
				<fmt:formatDate value="${teamUser.createTime}" pattern="yyyy-MM-dd"/>
			</td>
		</tr>
		<tr>
			<th>职位：</th>
			<td>
			<select name="teamUser.position">
				<option value="1" <c:if test="${teamUser.position == 1}">selected</c:if>>组长</option>
				<option value="2" <c:if test="${teamUser.position == 2}">selected</c:if>>副组长</option>
				<option value="3" <c:if test="${teamUser.position == 3}">selected</c:if>>组员</option>
			</select>
			</td>
		</tr>
		<tr>
			<th>状态：</th>
			<td>
			<select name="teamUser.status">
				<option value="1" <c:if test="${teamUser.status == 1}">selected</c:if>>正常</option>
				<option value="2" <c:if test="${teamUser.status == 2}">selected</c:if>>申请</option>
				<option value="3" <c:if test="${teamUser.status == 3}">selected</c:if>>拒绝</option>
				<option value="4" <c:if test="${teamUser.status == 4}">selected</c:if>>申请</option>
				<option value="9" <c:if test="${teamUser.status == 9}">selected</c:if>>屏蔽</option>
			</select>
			</td>
		</tr>
		<tr>
			<th>申请原因：</th>
			<td>
				<textarea rows="10" cols="40" name="teamUser.applyPaper"><c:out value="${teamUser.applyPaper}"/></textarea>
			</td>
		</tr>
		<tr>
			<th>用户给此组的备注名称：</th>
			<td>
				<input type="text" name="teamUser.teamNickname" value="${teamUser.teamNickname}">
			</td>
		</tr>
		<tr>
			<th>用户给此组的曾经所有使用过的备注名称：</th>
			<td>
				<textarea rows="10" cols="40" name="teamUser.teamNicknameHistory"><c:out value="${teamUser.teamNicknameHistory}"/></textarea>
			</td>
		</tr>
		<tr>
			<th>用户在此组的曾经所有使用过的昵称：</th>
			<td>
				<textarea rows="10" cols="40" name="teamUser.nicknameHistory"><c:out value="${teamUser.nicknameHistory}"/></textarea>
			</td>
		</tr>
		</table>
		<input type="submit" value="保存">
	</form>
</div>